// app/service/user.js
const Service = require('egg').Service;

class UserService extends Service {
  async find(uid) {
    const user = await this.app.knex('wx_course_type').select('type_id','type_price','type_name','type_banner','type_referral').orderBy('create_time','desc')
    return {user};
  }
}

module.exports = UserService;